/**
 * FileName: AccessDao.java
 * 员工角色权限接口层
 *
 * @author  王威
 * @Date    2021/11/29
 * @version 1.00
 **/
package com.site.dao;
import com.site.pojo.Access;
import com.site.pojo.Employee;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;


public interface AccessDao {
    /*员工角色权限*/
    List<Access> selectAll() throws SQLException;

    /*根据id查询员工角色权限所有信息*/
    Access selectById(Access access) throws SQLException;

    /*添加员工角色权限*/
    int addAccess(Connection con, Access access) throws SQLException;

    /*删除员工角色权限*/
    int delAccess(Connection con, Access access);

    /*修改员工角色权限*/
    int updateAccess(Connection con,Access access);

}
